home *** CD-ROM | disk | FTP | other *** search
/ Super Shareware Collection / Super Shareware Collection.iso / os_2 / epmgcc10.zip / GCCENV.SMP < prev    next >
Text File  |  1994-01-22  |  3KB  |  56 lines

  1. /*
  2. ╔══════════════════════════════════════════════════════════════════════════════╗
  3. ║ What's it called: EPMGCC  V1.00                                              ║
  4. ║                                                                              ║
  5. ║ What does it do:  The E source code for the GCC-Interface for EPM.           ║
  6. ║                   This file contains default constants for external commands ║
  7. ║                   and command parameters. It is included in GCC.E and        ║
  8. ║                   GCCPROC.E.                                                 ║
  9. ║                                                                              ║
  10. ║ Who and When:     B. Bablok 12/93 - 01/94                                    ║
  11. ║                                                                              ║
  12. ╚══════════════════════════════════════════════════════════════════════════════╝
  13. */
  14.  
  15. CONST
  16. /*
  17. ┌──────────────────────────────────────────────────────────────────────────────┐
  18. │  Constants which cannot be changed at runtime (external commands, menu       │
  19. │  support). See the OS2-reference for the meaning of /c, /n and /win.         │
  20. └──────────────────────────────────────────────────────────────────────────────┘
  21. */
  22.    GCC_EDIT_COMMAND  = 'start /c /win epro'   -- change to 'EDIT' if you don't
  23.                                               -- want to use epro.cmd
  24.    GCC_COMP_COMMAND  = 'start /n /win gcc'    -- change gcc, make and gdb to
  25.    GCC_BUILD_COMMAND = 'start /n /win make'   -- whatever programs you use (or
  26.    GCC_DEBUG_COMMAND = 'start /n /win gdb'    -- just add path names)
  27.  
  28.    GCC_MENU_ALWAYS_ON = 0                     -- change to 1
  29. /*
  30. ┌──────────────────────────────────────────────────────────────────────────────┐
  31. │  Templates for compile/build options. Templates with '_D_' in the name are   │
  32. │  used if debug-mode is turned on, otherwise the '_P_' templates are used.    │
  33. │  Replacement rules (file is either the current file or the makefile):        │
  34. │    %*   fully qualified filename                                             │
  35. │    %**D drive letter and colon                                               │
  36. │    %**P path, including drive and trailing '\'                               │
  37. │    %**F filename, including extension                                        │
  38. │    %**N filename without extension                                           │
  39. │    %**E extension                                                            │
  40. │  These templates can be changed at runtime.                                  │
  41. └──────────────────────────────────────────────────────────────────────────────┘
  42. */
  43.    GCC_D_COMPILE_OPTIONS = '-c -g %*'
  44.    GCC_P_COMPILE_OPTIONS = '-O2 -o %**P%**N.exe %*'
  45.    GCC_D_BUILD_OPTIONS   = '-k -f %* MODE=D'
  46.    GCC_P_BUILD_OPTIONS   = '-k -f %* MODE=P'
  47. /*
  48. ┌──────────────────────────────────────────────────────────────────────────────┐
  49. │  Constants which define the startup values of autosave, debug and verbose-   │
  50. │  mode. These toggles can be changed at runtime.                              │
  51. └──────────────────────────────────────────────────────────────────────────────┘
  52. */
  53.    GCC_AUTOSAVE_FILE = 1       -- save file / all files before compile or build
  54.    GCC_DEBUG_MODE    = 1       -- use debug-templates for compile / build
  55.    GCC_VERBOSE_MODE  = 0       -- show commands in the message area
  56.